home *** CD-ROM | disk | FTP | other *** search
- <refentry id="libgimp-gimpquerybox" revision="19 Jan 2001">
- <refmeta>
- <refentrytitle>gimpquerybox</refentrytitle>
- <manvolnum>3</manvolnum>
- <refmiscinfo>LIBGIMP Library</refmiscinfo>
- </refmeta>
-
- <refnamediv>
- <refname>gimpquerybox</refname><refpurpose>Some simple dialogs to enter a single int, double, string or boolean value.</refpurpose>
- </refnamediv>
-
- <refsynopsisdiv><title>Synopsis</title>
- <synopsis>
-
-
-
- void (<link linkend="GimpQueryStringCallback">*GimpQueryStringCallback</link>) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
- <link linkend="gchar">gchar</link> *string,
- <link linkend="gpointer">gpointer</link> data);
- void (<link linkend="GimpQueryIntCallback">*GimpQueryIntCallback</link>) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
- <link linkend="gint">gint</link> value,
- <link linkend="gpointer">gpointer</link> data);
- void (<link linkend="GimpQueryDoubleCallback">*GimpQueryDoubleCallback</link>) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
- <link linkend="gdouble">gdouble</link> value,
- <link linkend="gpointer">gpointer</link> data);
- void (<link linkend="GimpQuerySizeCallback">*GimpQuerySizeCallback</link>) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
- <link linkend="gdouble">gdouble</link> size,
- <link linkend="GimpUnit">GimpUnit</link> unit,
- <link linkend="gpointer">gpointer</link> data);
- void (<link linkend="GimpQueryBooleanCallback">*GimpQueryBooleanCallback</link>) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
- <link linkend="gboolean">gboolean</link> value,
- <link linkend="gpointer">gpointer</link> data);
- <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gimp-query-string-box">gimp_query_string_box</link> (const <link linkend="gchar">gchar</link> *title,
- <link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
- const <link linkend="gchar">gchar</link> *help_data,
- const <link linkend="gchar">gchar</link> *message,
- const <link linkend="gchar">gchar</link> *initial,
- <link linkend="GtkObject">GtkObject</link> *object,
- const <link linkend="gchar">gchar</link> *signal,
- <link linkend="GimpQueryStringCallback">GimpQueryStringCallback</link> callback,
- <link linkend="gpointer">gpointer</link> data);
- <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gimp-query-int-box">gimp_query_int_box</link> (const <link linkend="gchar">gchar</link> *title,
- <link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
- const <link linkend="gchar">gchar</link> *help_data,
- const <link linkend="gchar">gchar</link> *message,
- <link linkend="gint">gint</link> initial,
- <link linkend="gint">gint</link> lower,
- <link linkend="gint">gint</link> upper,
- <link linkend="GtkObject">GtkObject</link> *object,
- const <link linkend="gchar">gchar</link> *signal,
- <link linkend="GimpQueryIntCallback">GimpQueryIntCallback</link> callback,
- <link linkend="gpointer">gpointer</link> data);
- <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gimp-query-double-box">gimp_query_double_box</link> (const <link linkend="gchar">gchar</link> *title,
- <link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
- const <link linkend="gchar">gchar</link> *help_data,
- const <link linkend="gchar">gchar</link> *message,
- <link linkend="gdouble">gdouble</link> initial,
- <link linkend="gdouble">gdouble</link> lower,
- <link linkend="gdouble">gdouble</link> upper,
- <link linkend="gint">gint</link> digits,
- <link linkend="GtkObject">GtkObject</link> *object,
- const <link linkend="gchar">gchar</link> *signal,
- <link linkend="GimpQueryDoubleCallback">GimpQueryDoubleCallback</link> callback,
- <link linkend="gpointer">gpointer</link> data);
- <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gimp-query-size-box">gimp_query_size_box</link> (const <link linkend="gchar">gchar</link> *title,
- <link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
- const <link linkend="gchar">gchar</link> *help_data,
- const <link linkend="gchar">gchar</link> *message,
- <link linkend="gdouble">gdouble</link> initial,
- <link linkend="gdouble">gdouble</link> lower,
- <link linkend="gdouble">gdouble</link> upper,
- <link linkend="gint">gint</link> digits,
- <link linkend="GimpUnit">GimpUnit</link> unit,
- <link linkend="gdouble">gdouble</link> resolution,
- <link linkend="gboolean">gboolean</link> dot_for_dot,
- <link linkend="GtkObject">GtkObject</link> *object,
- const <link linkend="gchar">gchar</link> *signal,
- <link linkend="GimpQuerySizeCallback">GimpQuerySizeCallback</link> callback,
- <link linkend="gpointer">gpointer</link> data);
- <link linkend="GtkWidget">GtkWidget</link>* <link linkend="gimp-query-boolean-box">gimp_query_boolean_box</link> (const <link linkend="gchar">gchar</link> *title,
- <link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
- const <link linkend="gchar">gchar</link> *help_data,
- <link linkend="gboolean">gboolean</link> eek,
- const <link linkend="gchar">gchar</link> *message,
- const <link linkend="gchar">gchar</link> *true_button,
- const <link linkend="gchar">gchar</link> *false_button,
- <link linkend="GtkObject">GtkObject</link> *object,
- const <link linkend="gchar">gchar</link> *signal,
- <link linkend="GimpQueryBooleanCallback">GimpQueryBooleanCallback</link> callback,
- <link linkend="gpointer">gpointer</link> data);
- </synopsis>
- </refsynopsisdiv>
-
-
-
-
-
- <refsect1>
- <title>Description</title>
- <para>
- These functions provide simple dialogs for entering a single string,
- integer, double, boolean or pixel size value.
- </para>
- <para>
- They return a pointer to a <link linkend="GtkDialog">GtkDialog</link> which has to be shown with
- <link linkend="gtk-widget-show">gtk_widget_show</link>() by the caller.
- </para>
- <para>
- The dialogs contain an entry widget for the kind of value they ask for
- and "OK" and "Cancel" buttons. On "Cancel", all query boxes except the
- boolean one silently destroy themselves. On "OK" the user defined
- callback function is called and returns the entered value.
- </para>
- </refsect1>
-
- <refsect1>
- <title>Details</title>
- <refsect2>
- <title><anchor id="GimpQueryStringCallback">GimpQueryStringCallback ()</title>
- <programlisting>void (*GimpQueryStringCallback) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
- <link linkend="gchar">gchar</link> *string,
- <link linkend="gpointer">gpointer</link> data);</programlisting>
- <para>
- Note that you have to <link linkend="g-free">g_free</link>() the returned string.
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>query_box</parameter> :</entry>
- <entry>The query box.
- </entry></row>
- <row><entry align="right"><parameter>string</parameter> :</entry>
- <entry>The entered string.
- </entry></row>
- <row><entry align="right"><parameter>data</parameter> :</entry>
- <entry>The user data.
-
-
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="GimpQueryIntCallback">GimpQueryIntCallback ()</title>
- <programlisting>void (*GimpQueryIntCallback) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
- <link linkend="gint">gint</link> value,
- <link linkend="gpointer">gpointer</link> data);</programlisting>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>query_box</parameter> :</entry>
- <entry>The query box.
- </entry></row>
- <row><entry align="right"><parameter>value</parameter> :</entry>
- <entry>The entered integer value.
- </entry></row>
- <row><entry align="right"><parameter>data</parameter> :</entry>
- <entry>The user data.
-
-
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="GimpQueryDoubleCallback">GimpQueryDoubleCallback ()</title>
- <programlisting>void (*GimpQueryDoubleCallback) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
- <link linkend="gdouble">gdouble</link> value,
- <link linkend="gpointer">gpointer</link> data);</programlisting>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>query_box</parameter> :</entry>
- <entry>The query box.
- </entry></row>
- <row><entry align="right"><parameter>value</parameter> :</entry>
- <entry>The entered double value.
- </entry></row>
- <row><entry align="right"><parameter>data</parameter> :</entry>
- <entry>The user data.
-
-
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="GimpQuerySizeCallback">GimpQuerySizeCallback ()</title>
- <programlisting>void (*GimpQuerySizeCallback) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
- <link linkend="gdouble">gdouble</link> size,
- <link linkend="GimpUnit">GimpUnit</link> unit,
- <link linkend="gpointer">gpointer</link> data);</programlisting>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>query_box</parameter> :</entry>
- <entry>The query box.
- </entry></row>
- <row><entry align="right"><parameter>size</parameter> :</entry>
- <entry>The entered size in pixels.
- </entry></row>
- <row><entry align="right"><parameter>unit</parameter> :</entry>
- <entry>The selected unit from the <link linkend="GimpUnitMenu">GimpUnitMenu</link>.
- </entry></row>
- <row><entry align="right"><parameter>data</parameter> :</entry>
- <entry>The user data.
-
-
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="GimpQueryBooleanCallback">GimpQueryBooleanCallback ()</title>
- <programlisting>void (*GimpQueryBooleanCallback) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
- <link linkend="gboolean">gboolean</link> value,
- <link linkend="gpointer">gpointer</link> data);</programlisting>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>query_box</parameter> :</entry>
- <entry>The query box.
- </entry></row>
- <row><entry align="right"><parameter>value</parameter> :</entry>
- <entry>The entered boolean value.
- </entry></row>
- <row><entry align="right"><parameter>data</parameter> :</entry>
- <entry>The user data.
-
-
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="gimp-query-string-box">gimp_query_string_box ()</title>
- <programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_query_string_box (const <link linkend="gchar">gchar</link> *title,
- <link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
- const <link linkend="gchar">gchar</link> *help_data,
- const <link linkend="gchar">gchar</link> *message,
- const <link linkend="gchar">gchar</link> *initial,
- <link linkend="GtkObject">GtkObject</link> *object,
- const <link linkend="gchar">gchar</link> *signal,
- <link linkend="GimpQueryStringCallback">GimpQueryStringCallback</link> callback,
- <link linkend="gpointer">gpointer</link> data);</programlisting>
- <para>
- </para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>title</parameter> :</entry>
- <entry> The query box dialog's title.
- </entry></row>
- <row><entry align="right"><parameter>help_func</parameter> :</entry>
- <entry> The help function to show this dialog's help page.
- </entry></row>
- <row><entry align="right"><parameter>help_data</parameter> :</entry>
- <entry> A string pointing to this dialog's html help page.
- </entry></row>
- <row><entry align="right"><parameter>message</parameter> :</entry>
- <entry> A string which will be shown above the dialog's entry widget.
- </entry></row>
- <row><entry align="right"><parameter>initial</parameter> :</entry>
- <entry> The initial value.
- </entry></row>
- <row><entry align="right"><parameter>object</parameter> :</entry>
- <entry> The object this query box is associated with.
- </entry></row>
- <row><entry align="right"><parameter>signal</parameter> :</entry>
- <entry> The object's signal which will cause the query box to be closed.
- </entry></row>
- <row><entry align="right"><parameter>callback</parameter> :</entry>
- <entry> The function which will be called when the user selects "OK".
- </entry></row>
- <row><entry align="right"><parameter>data</parameter> :</entry>
- <entry> The callback's user data.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> A pointer to the new <link linkend="GtkDialog">GtkDialog</link>.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="gimp-query-int-box">gimp_query_int_box ()</title>
- <programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_query_int_box (const <link linkend="gchar">gchar</link> *title,
- <link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
- const <link linkend="gchar">gchar</link> *help_data,
- const <link linkend="gchar">gchar</link> *message,
- <link linkend="gint">gint</link> initial,
- <link linkend="gint">gint</link> lower,
- <link linkend="gint">gint</link> upper,
- <link linkend="GtkObject">GtkObject</link> *object,
- const <link linkend="gchar">gchar</link> *signal,
- <link linkend="GimpQueryIntCallback">GimpQueryIntCallback</link> callback,
- <link linkend="gpointer">gpointer</link> data);</programlisting>
- <para>
- </para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>title</parameter> :</entry>
- <entry> The query box dialog's title.
- </entry></row>
- <row><entry align="right"><parameter>help_func</parameter> :</entry>
- <entry> The help function to show this dialog's help page.
- </entry></row>
- <row><entry align="right"><parameter>help_data</parameter> :</entry>
- <entry> A string pointing to this dialog's html help page.
- </entry></row>
- <row><entry align="right"><parameter>message</parameter> :</entry>
- <entry> A string which will be shown above the dialog's entry widget.
- </entry></row>
- <row><entry align="right"><parameter>initial</parameter> :</entry>
- <entry> The initial value.
- </entry></row>
- <row><entry align="right"><parameter>lower</parameter> :</entry>
- <entry> The lower boundary of the range of possible values.
- </entry></row>
- <row><entry align="right"><parameter>upper</parameter> :</entry>
- <entry> The upper boundray of the range of possible values.
- </entry></row>
- <row><entry align="right"><parameter>object</parameter> :</entry>
- <entry> The object this query box is associated with.
- </entry></row>
- <row><entry align="right"><parameter>signal</parameter> :</entry>
- <entry> The object's signal which will cause the query box to be closed.
- </entry></row>
- <row><entry align="right"><parameter>callback</parameter> :</entry>
- <entry> The function which will be called when the user selects "OK".
- </entry></row>
- <row><entry align="right"><parameter>data</parameter> :</entry>
- <entry> The callback's user data.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> A pointer to the new <link linkend="GtkDialog">GtkDialog</link>.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="gimp-query-double-box">gimp_query_double_box ()</title>
- <programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_query_double_box (const <link linkend="gchar">gchar</link> *title,
- <link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
- const <link linkend="gchar">gchar</link> *help_data,
- const <link linkend="gchar">gchar</link> *message,
- <link linkend="gdouble">gdouble</link> initial,
- <link linkend="gdouble">gdouble</link> lower,
- <link linkend="gdouble">gdouble</link> upper,
- <link linkend="gint">gint</link> digits,
- <link linkend="GtkObject">GtkObject</link> *object,
- const <link linkend="gchar">gchar</link> *signal,
- <link linkend="GimpQueryDoubleCallback">GimpQueryDoubleCallback</link> callback,
- <link linkend="gpointer">gpointer</link> data);</programlisting>
- <para>
- </para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>title</parameter> :</entry>
- <entry> The query box dialog's title.
- </entry></row>
- <row><entry align="right"><parameter>help_func</parameter> :</entry>
- <entry> The help function to show this dialog's help page.
- </entry></row>
- <row><entry align="right"><parameter>help_data</parameter> :</entry>
- <entry> A string pointing to this dialog's html help page.
- </entry></row>
- <row><entry align="right"><parameter>message</parameter> :</entry>
- <entry> A string which will be shown above the dialog's entry widget.
- </entry></row>
- <row><entry align="right"><parameter>initial</parameter> :</entry>
- <entry> The initial value.
- </entry></row>
- <row><entry align="right"><parameter>lower</parameter> :</entry>
- <entry> The lower boundary of the range of possible values.
- </entry></row>
- <row><entry align="right"><parameter>upper</parameter> :</entry>
- <entry> The upper boundray of the range of possible values.
- </entry></row>
- <row><entry align="right"><parameter>digits</parameter> :</entry>
- <entry> The number of decimal digits the <link linkend="GtkSpinButton">GtkSpinButton</link> will provide.
- </entry></row>
- <row><entry align="right"><parameter>object</parameter> :</entry>
- <entry> The object this query box is associated with.
- </entry></row>
- <row><entry align="right"><parameter>signal</parameter> :</entry>
- <entry> The object's signal which will cause the query box to be closed.
- </entry></row>
- <row><entry align="right"><parameter>callback</parameter> :</entry>
- <entry> The function which will be called when the user selects "OK".
- </entry></row>
- <row><entry align="right"><parameter>data</parameter> :</entry>
- <entry> The callback's user data.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> A pointer to the new <link linkend="GtkDialog">GtkDialog</link>.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="gimp-query-size-box">gimp_query_size_box ()</title>
- <programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_query_size_box (const <link linkend="gchar">gchar</link> *title,
- <link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
- const <link linkend="gchar">gchar</link> *help_data,
- const <link linkend="gchar">gchar</link> *message,
- <link linkend="gdouble">gdouble</link> initial,
- <link linkend="gdouble">gdouble</link> lower,
- <link linkend="gdouble">gdouble</link> upper,
- <link linkend="gint">gint</link> digits,
- <link linkend="GimpUnit">GimpUnit</link> unit,
- <link linkend="gdouble">gdouble</link> resolution,
- <link linkend="gboolean">gboolean</link> dot_for_dot,
- <link linkend="GtkObject">GtkObject</link> *object,
- const <link linkend="gchar">gchar</link> *signal,
- <link linkend="GimpQuerySizeCallback">GimpQuerySizeCallback</link> callback,
- <link linkend="gpointer">gpointer</link> data);</programlisting>
- <para>
- </para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>title</parameter> :</entry>
- <entry> The query box dialog's title.
- </entry></row>
- <row><entry align="right"><parameter>help_func</parameter> :</entry>
- <entry> The help function to show this dialog's help page.
- </entry></row>
- <row><entry align="right"><parameter>help_data</parameter> :</entry>
- <entry> A string pointing to this dialog's html help page.
- </entry></row>
- <row><entry align="right"><parameter>message</parameter> :</entry>
- <entry> A string which will be shown above the dialog's entry widget.
- </entry></row>
- <row><entry align="right"><parameter>initial</parameter> :</entry>
- <entry> The initial value.
- </entry></row>
- <row><entry align="right"><parameter>lower</parameter> :</entry>
- <entry> The lower boundary of the range of possible values.
- </entry></row>
- <row><entry align="right"><parameter>upper</parameter> :</entry>
- <entry> The upper boundray of the range of possible values.
- </entry></row>
- <row><entry align="right"><parameter>digits</parameter> :</entry>
- <entry> The number of decimal digits the <link linkend="GimpSizeEntry">GimpSizeEntry</link> provide in
- "pixel" mode.
- </entry></row>
- <row><entry align="right"><parameter>unit</parameter> :</entry>
- <entry> The unit initially shown by the <link linkend="GimpUnitMenu">GimpUnitMenu</link>.
- </entry></row>
- <row><entry align="right"><parameter>resolution</parameter> :</entry>
- <entry> The resolution (in dpi) which will be used for pixel/unit
- calculations.
- </entry></row>
- <row><entry align="right"><parameter>dot_for_dot</parameter> :</entry>
- <entry> <link linkend="TRUE-CAPS">TRUE</link> if the <link linkend="GimpUnitMenu">GimpUnitMenu</link>'s initial unit should be "pixels".
- </entry></row>
- <row><entry align="right"><parameter>object</parameter> :</entry>
- <entry> The object this query box is associated with.
- </entry></row>
- <row><entry align="right"><parameter>signal</parameter> :</entry>
- <entry> The object's signal which will cause the query box to be closed.
- </entry></row>
- <row><entry align="right"><parameter>callback</parameter> :</entry>
- <entry> The function which will be called when the user selects "OK".
- </entry></row>
- <row><entry align="right"><parameter>data</parameter> :</entry>
- <entry> The callback's user data.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> A pointer to the new <link linkend="GtkDialog">GtkDialog</link>.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
- <refsect2>
- <title><anchor id="gimp-query-boolean-box">gimp_query_boolean_box ()</title>
- <programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_query_boolean_box (const <link linkend="gchar">gchar</link> *title,
- <link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
- const <link linkend="gchar">gchar</link> *help_data,
- <link linkend="gboolean">gboolean</link> eek,
- const <link linkend="gchar">gchar</link> *message,
- const <link linkend="gchar">gchar</link> *true_button,
- const <link linkend="gchar">gchar</link> *false_button,
- <link linkend="GtkObject">GtkObject</link> *object,
- const <link linkend="gchar">gchar</link> *signal,
- <link linkend="GimpQueryBooleanCallback">GimpQueryBooleanCallback</link> callback,
- <link linkend="gpointer">gpointer</link> data);</programlisting>
- <para>
- </para>
- <para>
-
- </para><informaltable pgwide=1 frame="none" role="params">
- <tgroup cols="2">
- <colspec colwidth="2*">
- <colspec colwidth="8*">
- <tbody>
- <row><entry align="right"><parameter>title</parameter> :</entry>
- <entry> The query box dialog's title.
- </entry></row>
- <row><entry align="right"><parameter>help_func</parameter> :</entry>
- <entry> The help function to show this dialog's help page.
- </entry></row>
- <row><entry align="right"><parameter>help_data</parameter> :</entry>
- <entry> A string pointing to this dialog's html help page.
- </entry></row>
- <row><entry align="right"><parameter>eek</parameter> :</entry>
- <entry> <link linkend="TRUE-CAPS">TRUE</link> if you want the "Eek" wilber to appear left of the dialog's
- message.
- </entry></row>
- <row><entry align="right"><parameter>message</parameter> :</entry>
- <entry> A string which will be shown in the query box.
- </entry></row>
- <row><entry align="right"><parameter>true_button</parameter> :</entry>
- <entry> The string to be shown in the dialog's left button.
- </entry></row>
- <row><entry align="right"><parameter>false_button</parameter> :</entry>
- <entry> The string to be shown in the dialog's right button.
- </entry></row>
- <row><entry align="right"><parameter>object</parameter> :</entry>
- <entry> The object this query box is associated with.
- </entry></row>
- <row><entry align="right"><parameter>signal</parameter> :</entry>
- <entry> The object's signal which will cause the query box to be closed.
- </entry></row>
- <row><entry align="right"><parameter>callback</parameter> :</entry>
- <entry> The function which will be called when the user clicks one
- of the buttons.
- </entry></row>
- <row><entry align="right"><parameter>data</parameter> :</entry>
- <entry> The callback's user data.
- </entry></row>
- <row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry> A pointer to the new <link linkend="GtkDialog">GtkDialog</link>.
- </entry></row>
- </tbody></tgroup></informaltable></refsect2>
-
- </refsect1>
-
-
-
- <refsect1>
- <title>See Also</title>
- <para>
- GimpSizeEntry
- </para>
- <para>
- GimpUnitMenu
- </para>
- </refsect1>
-
- </refentry>
-